package com.atguigu.java13;

public class SwitchTest {
    public static void main(String[] args) {
        int month = 3;
        String result = switch (month) {
            case 3,4,5 -> "spring";
            case 6,7,8 -> "spring";
            case 9,10,11 -> "spring";
            case 12,1,2 -> "spring";
            default -> "default";
        };

        System.out.println(result);
    }
}
